package Catalogos;

import Componentes.RendersValidators.ButtonRenderUsuarios;
import Componentes.GlassPanel;
import Componentes.InternalFrame;
import Componentes.Validators.BindingMesajes;
import Modelos.TblUsuarios;
import java.awt.Font;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.beans.Beans;
import javax.swing.table.TableRowSorter;

public final class dlgUsuarios extends InternalFrame {

    private static dlgUsuarios yo = null;
    private TableRowSorter sorter;

    public static dlgUsuarios getInstance() {
        if (yo == null) {
            yo = new dlgUsuarios();
        }
        return yo;
    }

    private dlgUsuarios() {
        initComponents();
        cargarPrpiedadesExtra();
        sorter = new TableRowSorter(tblUsuarios.getModel());
        tblUsuarios.setRowSorter(sorter);
        bindingGroup.addBindingListener(new BindingMesajes(validationMsgLabel));
        this.tblUsuarios.getColumnModel().getColumn(0).setCellRenderer(new ButtonRenderUsuarios(true));
        if (!Beans.isDesignTime()) {
            goBoxEntityManager.getTransaction().begin();
        }

        txtFiltro1.addKeyListener(new KeyAdapter() {

            @Override
            public void keyReleased(KeyEvent ke) {
                super.keyReleased(ke);
                if (!txtFiltro1.getText().equals(txtFiltro1.getFrase())) {
                    sorter.setRowFilter(javax.swing.RowFilter.regexFilter(txtFiltro1.getText()));
                }
            }
        });


        this.jProgressBar1.setValue(100);
        this.jProgressBar1.setString("Listo");
        GlassPanel panel = new GlassPanel();
        //this.getGlassPane().setVisible(true);
    }

    public void cargarPrpiedadesExtra() {

        int fontTam = Integer.parseInt(propiedades.getProperty("TamanoFuente", "12"));
        String fontName = propiedades.getProperty("NombreFuente", "Lucida Grande");
        int fontStyle = Integer.parseInt(propiedades.getProperty("EstiloFuente", "1"));
        this.tblUsuarios.setFont(new Font(fontName, fontStyle, fontTam));
        this.tblUsuarios.setRowHeight(Integer.parseInt(propiedades.getProperty("TamCelda", "18")));
        String osnom = System.getProperty("os.name");
        if (osnom.equals("Mac OS X")) {
            Launcher.Launcher.getInstance().a.requestUserAttention(true);
        }

    }

    @Override
    public void dispose() {
        super.dispose();
        GuardarPropiedad("TamanoFuente", "" + tblUsuarios.getFont().getSize());
        GuardarPropiedad("NombreFuente", tblUsuarios.getFont().getFontName());
        GuardarPropiedad("EstiloFuente", "" + tblUsuarios.getFont().getStyle());
        GuardarPropiedad("TamCelda", "" + tblUsuarios.getRowHeight());
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        bindingGroup = new org.jdesktop.beansbinding.BindingGroup();

        accionCancelar1 = new Acciones.Persistencia.AccionCancelar();
        accionEliminar1 = new Acciones.Persistencia.AccionEliminar();
        accionGuadar1 = new Acciones.Persistencia.AccionGuadar();
        accionNuevo1 = new Acciones.Persistencia.AccionNuevo();
        jPopupMenu1 = new javax.swing.JPopupMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jSeparator4 = new javax.swing.JToolBar.Separator();
        jMenu4 = new javax.swing.JMenu();
        jMenuItem6 = new javax.swing.JMenuItem();
        jMenuItem7 = new javax.swing.JMenuItem();
        jMenuItem8 = new javax.swing.JMenuItem();
        tabbedPaneClose1 = new org.edisoncor.gui.tabbedPane.TabbedPaneClose();
        accionAumentarFuente1 = new Acciones.Edicion.AccionAumentarFuente();
        accionDisminuirFuente1 = new Acciones.Edicion.AccionDisminuirFuente();
        accionPersonalizarFuente1 = new Acciones.Edicion.AccionPersonalizarFuente();
        accionRefrescar1 = new Acciones.Persistencia.AccionRefrescar();
        goBoxEntityManager = java.beans.Beans.isDesignTime() ? null : javax.persistence.Persistence.createEntityManagerFactory("goBox").createEntityManager();
        tblUsuariosQuery = java.beans.Beans.isDesignTime() ? null : goBoxEntityManager.createQuery("SELECT t FROM TblUsuarios t");
        tblUsuariosList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : org.jdesktop.observablecollections.ObservableCollections.observableList(new java.util.LinkedList(tblUsuariosQuery.getResultList()));
        buttonEditor1 = new Componentes.ButtonEditor();
        buttonGroup1 = new javax.swing.ButtonGroup();
        accionColapsar1 = new Acciones.Edicion.AccionColapsar();
        genericValidator1 = new Componentes.Validators.GenericValidator();
        genericValidator2 = new Componentes.Validators.GenericValidator();
        genericValidator3 = new Componentes.Validators.GenericValidator();
        mailValidator1 = new Componentes.Validators.MailValidator();
        jPanel1 = new javax.swing.JPanel();
        pnlRedondo = new org.edisoncor.gui.panel.PanelNice();
        splUsuarios = new javax.swing.JSplitPane();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblUsuarios = new Componentes.tblDatos();
        jPanel2 = new javax.swing.JPanel();
        pnlEditorUsuarios = new org.edisoncor.gui.panel.PanelNice();
        txtAP = new Componentes.Texfields.TextField();
        txtAM = new Componentes.Texfields.TextField();
        txtNombre = new Componentes.Texfields.TextField();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jDateChooser1 = new com.toedter.calendar.JDateChooser();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jLabel8 = new javax.swing.JLabel();
        textField1 = new Componentes.Texfields.TextField();
        jLabel9 = new javax.swing.JLabel();
        jPasswordField1 = new javax.swing.JPasswordField();
        jLabel10 = new javax.swing.JLabel();
        jSpinner1 = new javax.swing.JSpinner();
        jCheckBox1 = new javax.swing.JCheckBox();
        jLabel11 = new javax.swing.JLabel();
        txtMail = new Componentes.Texfields.TextField();
        pnlRedondo1 = new org.edisoncor.gui.panel.PanelNice();
        txtFiltro1 = new Componentes.Texfields.txtFiltro();
        separador = new javax.swing.JToolBar();
        btnNuevo = new Componentes.Button();
        btnEliminar = new Componentes.Button();
        btnCancelar = new Componentes.Button();
        btnGuardar = new Componentes.Button();
        jButton3 = new javax.swing.JButton();
        jSeparator1 = new javax.swing.JToolBar.Separator();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jSeparator2 = new javax.swing.JToolBar.Separator();
        filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(100, 0), new java.awt.Dimension(100, 0), new java.awt.Dimension(2000, 32767));
        jSeparator6 = new javax.swing.JToolBar.Separator();
        txtEspecial1 = new Componentes.Texfields.txtEspecial();
        jSeparator7 = new javax.swing.JToolBar.Separator();
        pnlPerfiles = new org.edisoncor.gui.panel.PanelNice();
        jSplitPane4 = new javax.swing.JSplitPane();
        pnlRedondo4 = new org.edisoncor.gui.panel.PanelNice();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblDatos1 = new Componentes.tblDatos();
        jSplitPane1 = new javax.swing.JSplitPane();
        validationMsgLabel = new javax.swing.JLabel();
        jSplitPane2 = new javax.swing.JSplitPane();
        jProgressBar1 = new javax.swing.JProgressBar();
        jLabel1 = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        mnuNuevo = new javax.swing.JMenuItem();
        mnuEliminar = new javax.swing.JMenuItem();
        mnuCancelar = new javax.swing.JMenuItem();
        mnuGuardar = new javax.swing.JMenuItem();
        jMenuItem9 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenuItem5 = new javax.swing.JMenuItem();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenu5 = new javax.swing.JMenu();
        jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();

        accionCancelar1.setEm(goBoxEntityManager);
        accionCancelar1.setLs(tblUsuariosList);
        accionCancelar1.setQ(tblUsuariosQuery);

        accionEliminar1.setEm(goBoxEntityManager);
        accionEliminar1.setLs(tblUsuariosList);
        accionEliminar1.setTbl(tblUsuarios);

        accionGuadar1.setEm(goBoxEntityManager);
        accionGuadar1.setLs(tblUsuariosList);

        accionNuevo1.setEm(goBoxEntityManager);
        accionNuevo1.setLs(tblUsuariosList);
        accionNuevo1.setO(new TblUsuarios());
        accionNuevo1.setTbl(tblUsuarios);

        jMenuItem1.setAction(accionNuevo1);
        jPopupMenu1.add(jMenuItem1);

        jMenuItem2.setAction(accionEliminar1);
        jPopupMenu1.add(jMenuItem2);
        jPopupMenu1.add(jSeparator4);

        jMenu4.setText("Fuente");

        jMenuItem6.setAction(accionAumentarFuente1);
        jMenu4.add(jMenuItem6);

        jMenuItem7.setAction(accionDisminuirFuente1);
        jMenu4.add(jMenuItem7);

        jMenuItem8.setAction(accionPersonalizarFuente1);
        jMenu4.add(jMenuItem8);

        jPopupMenu1.add(jMenu4);

        accionAumentarFuente1.setObjeto(tblUsuarios);

        accionDisminuirFuente1.setObjeto(tblUsuarios);

        accionPersonalizarFuente1.setElemento(tblUsuarios);

        accionRefrescar1.setEm(goBoxEntityManager);
        accionRefrescar1.setLs(tblUsuariosList);
        accionRefrescar1.setQ(tblUsuariosQuery);

        accionColapsar1.setElemento(pnlPerfiles);

        genericValidator1.setMax(45);
        genericValidator1.setMin(1);
        genericValidator1.setObj(txtNombre);

        genericValidator2.setMax(45);
        genericValidator2.setMin(1);
        genericValidator2.setObj(txtAM);

        genericValidator3.setMax(45);
        genericValidator3.setMin(1);
        genericValidator3.setObj(txtAP);

        mailValidator1.setMax(45);
        mailValidator1.setMin(1);
        mailValidator1.setObj(txtMail);

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle(Configuraciones.Configuraciones.NOMBRE_USUARIOS);
        setFrameIcon(Configuraciones.Configuraciones.ICONO_USUARIOS);
        setSize(new java.awt.Dimension(50, 60));

        jPanel1.setBackground(new java.awt.Color(255, 255, 255));

        pnlRedondo.setBackground(new java.awt.Color(220, 230, 240));

        splUsuarios.setBorder(null);
        splUsuarios.setDividerLocation(125);
        splUsuarios.setDividerSize(6);
        splUsuarios.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        splUsuarios.setOneTouchExpandable(true);
        splUsuarios.setOpaque(false);

        tblUsuarios.setComponentPopupMenu(jPopupMenu1);
        tblUsuarios.setRowHeight(18);

        org.jdesktop.swingbinding.JTableBinding jTableBinding = org.jdesktop.swingbinding.SwingBindings.createJTableBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuariosList, tblUsuarios);
        org.jdesktop.swingbinding.JTableBinding.ColumnBinding columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${usuario}"));
        columnBinding.setColumnName("");
        columnBinding.setColumnClass(String.class);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${usuario}"));
        columnBinding.setColumnName("Usuario");
        columnBinding.setColumnClass(String.class);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${nombre} ${apellidoP}"));
        columnBinding.setColumnName("Nombre");
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${correo}"));
        columnBinding.setColumnName("Correo");
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${intentos}"));
        columnBinding.setColumnName("Intentos");
        columnBinding.setColumnClass(Integer.class);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${estatus}"));
        columnBinding.setColumnName("Estatus");
        columnBinding.setColumnClass(Boolean.class);
        bindingGroup.addBinding(jTableBinding);
        jTableBinding.bind();
        jScrollPane1.setViewportView(tblUsuarios);
        tblUsuarios.getColumnModel().getColumn(0).setMinWidth(20);
        tblUsuarios.getColumnModel().getColumn(0).setPreferredWidth(20);
        tblUsuarios.getColumnModel().getColumn(0).setMaxWidth(20);
        tblUsuarios.getColumnModel().getColumn(0).setCellEditor(buttonEditor1);
        tblUsuarios.getColumnModel().getColumn(1).setMinWidth(100);
        tblUsuarios.getColumnModel().getColumn(1).setPreferredWidth(100);
        tblUsuarios.getColumnModel().getColumn(1).setMaxWidth(120);
        tblUsuarios.getColumnModel().getColumn(3).setMinWidth(220);
        tblUsuarios.getColumnModel().getColumn(3).setPreferredWidth(220);
        tblUsuarios.getColumnModel().getColumn(3).setMaxWidth(260);
        tblUsuarios.getColumnModel().getColumn(4).setMinWidth(60);
        tblUsuarios.getColumnModel().getColumn(4).setPreferredWidth(60);
        tblUsuarios.getColumnModel().getColumn(4).setMaxWidth(60);
        tblUsuarios.getColumnModel().getColumn(5).setMinWidth(60);
        tblUsuarios.getColumnModel().getColumn(5).setPreferredWidth(60);
        tblUsuarios.getColumnModel().getColumn(5).setMaxWidth(60);

        splUsuarios.setTopComponent(jScrollPane1);

        jPanel2.setOpaque(false);

        pnlEditorUsuarios.setBackground(new java.awt.Color(255, 255, 255));

        org.jdesktop.beansbinding.Binding binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.apellidoP}"), txtAP, org.jdesktop.beansbinding.BeanProperty.create("text"), "Apellido Paterno");
        binding.setValidator(genericValidator3);
        bindingGroup.addBinding(binding);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.apellidoM}"), txtAM, org.jdesktop.beansbinding.BeanProperty.create("text"), "Apellido Materno");
        binding.setValidator(genericValidator2);
        bindingGroup.addBinding(binding);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.nombre}"), txtNombre, org.jdesktop.beansbinding.BeanProperty.create("text"), "Nombre");
        binding.setValidator(genericValidator1);
        bindingGroup.addBinding(binding);

        jLabel3.setText("Apellido Paterno*");

        jLabel4.setText("Apellido Materno");

        jLabel5.setText("Nombre(s)*");

        jLabel6.setText("Fecha Nacimiento*");

        jLabel7.setText("Sexo*");

        jDateChooser1.setBackground(new java.awt.Color(255, 255, 255));

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.fnac}"), jDateChooser1, org.jdesktop.beansbinding.BeanProperty.create("date"));
        bindingGroup.addBinding(binding);

        buttonGroup1.add(jRadioButton1);
        jRadioButton1.setText("Masculino");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.sexo}"), jRadioButton1, org.jdesktop.beansbinding.BeanProperty.create("selected"));
        bindingGroup.addBinding(binding);

        buttonGroup1.add(jRadioButton2);
        jRadioButton2.setText("Femenino");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.sexo}"), jRadioButton2, org.jdesktop.beansbinding.BeanProperty.create("selected"));
        bindingGroup.addBinding(binding);

        jLabel8.setText("Usuario*");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.usuario}"), textField1, org.jdesktop.beansbinding.BeanProperty.create("text"));
        bindingGroup.addBinding(binding);

        jLabel9.setText("Contraseña*");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.contrasena}"), jPasswordField1, org.jdesktop.beansbinding.BeanProperty.create("text"));
        bindingGroup.addBinding(binding);

        jLabel10.setText("Intentos");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.intentos}"), jSpinner1, org.jdesktop.beansbinding.BeanProperty.create("value"));
        bindingGroup.addBinding(binding);

        jCheckBox1.setText("Estatus");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.estatus}"), jCheckBox1, org.jdesktop.beansbinding.BeanProperty.create("selected"));
        bindingGroup.addBinding(binding);

        jLabel11.setText("Correo*");

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${selectedElement.correo}"), txtMail, org.jdesktop.beansbinding.BeanProperty.create("text"), "Correo");
        bindingGroup.addBinding(binding);

        org.jdesktop.layout.GroupLayout pnlEditorUsuariosLayout = new org.jdesktop.layout.GroupLayout(pnlEditorUsuarios);
        pnlEditorUsuarios.setLayout(pnlEditorUsuariosLayout);
        pnlEditorUsuariosLayout.setHorizontalGroup(
            pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlEditorUsuariosLayout.createSequentialGroup()
                .add(4, 4, 4)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, txtAP, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel3)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel6)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel8)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, textField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(pnlEditorUsuariosLayout.createSequentialGroup()
                        .add(2, 2, 2)
                        .add(jDateChooser1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 209, Short.MAX_VALUE)))
                .add(4, 4, 4)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(pnlEditorUsuariosLayout.createSequentialGroup()
                        .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(pnlEditorUsuariosLayout.createSequentialGroup()
                                .add(jPasswordField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 164, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(4, 4, 4)
                                .add(jSpinner1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 82, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 97, Short.MAX_VALUE)
                                .add(jCheckBox1))
                            .add(pnlEditorUsuariosLayout.createSequentialGroup()
                                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(pnlEditorUsuariosLayout.createSequentialGroup()
                                        .add(jLabel9)
                                        .add(106, 106, 106)
                                        .add(jLabel10))
                                    .add(pnlEditorUsuariosLayout.createSequentialGroup()
                                        .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(pnlEditorUsuariosLayout.createSequentialGroup()
                                                .add(jRadioButton1)
                                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                .add(jRadioButton2))
                                            .add(jLabel7))
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                            .add(jLabel11)
                                            .add(txtMail, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 222, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                                .add(0, 0, Short.MAX_VALUE)))
                        .add(4, 4, 4))
                    .add(pnlEditorUsuariosLayout.createSequentialGroup()
                        .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel4)
                            .add(txtAM, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel5)
                            .add(txtNombre, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 176, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
        );
        pnlEditorUsuariosLayout.setVerticalGroup(
            pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlEditorUsuariosLayout.createSequentialGroup()
                .add(2, 2, 2)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel3)
                    .add(jLabel4)
                    .add(jLabel5))
                .add(2, 2, 2)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(txtAP, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(txtAM, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(txtNombre, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(2, 2, 2)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel6)
                    .add(jLabel7)
                    .add(jLabel11))
                .add(2, 2, 2)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jDateChooser1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jRadioButton1)
                        .add(jRadioButton2)
                        .add(txtMail, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .add(2, 2, 2)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel8)
                    .add(jLabel9)
                    .add(jLabel10))
                .add(2, 2, 2)
                .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jSpinner1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(pnlEditorUsuariosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(textField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jPasswordField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jCheckBox1))
                .add(0, 46, Short.MAX_VALUE))
        );

        org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 656, Short.MAX_VALUE)
            .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel2Layout.createSequentialGroup()
                    .add(4, 4, 4)
                    .add(pnlEditorUsuarios, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(4, 4, 4)))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 196, Short.MAX_VALUE)
            .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel2Layout.createSequentialGroup()
                    .add(2, 2, 2)
                    .add(pnlEditorUsuarios, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(4, 4, 4)))
        );

        splUsuarios.setRightComponent(jPanel2);

        org.jdesktop.layout.GroupLayout pnlRedondoLayout = new org.jdesktop.layout.GroupLayout(pnlRedondo);
        pnlRedondo.setLayout(pnlRedondoLayout);
        pnlRedondoLayout.setHorizontalGroup(
            pnlRedondoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondoLayout.createSequentialGroup()
                .add(8, 8, 8)
                .add(splUsuarios)
                .add(8, 8, 8))
        );
        pnlRedondoLayout.setVerticalGroup(
            pnlRedondoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondoLayout.createSequentialGroup()
                .add(8, 8, 8)
                .add(splUsuarios, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 327, Short.MAX_VALUE)
                .add(8, 8, 8))
        );

        pnlRedondo1.setBackground(new java.awt.Color(220, 230, 240));

        txtFiltro1.setFrase("Ingrese su Busqueda Aqui");

        org.jdesktop.layout.GroupLayout pnlRedondo1Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo1);
        pnlRedondo1.setLayout(pnlRedondo1Layout);
        pnlRedondo1Layout.setHorizontalGroup(
            pnlRedondo1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo1Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(txtFiltro1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(4, 4, 4))
        );
        pnlRedondo1Layout.setVerticalGroup(
            pnlRedondo1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlRedondo1Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(txtFiltro1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(2, 2, 2))
        );

        separador.setBackground(new java.awt.Color(121, 137, 167));
        separador.setBorder(null);
        separador.setFloatable(false);
        separador.setRollover(true);

        btnNuevo.setAction(accionNuevo1);
        btnNuevo.setText("button1");
        btnNuevo.setBorderPainted(false);
        btnNuevo.setFocusable(false);
        btnNuevo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnNuevo.setMargin(new java.awt.Insets(0, 0, 0, 0));
        btnNuevo.setMaximumSize(new java.awt.Dimension(35, 44));
        btnNuevo.setMinimumSize(new java.awt.Dimension(44, 44));
        btnNuevo.setPreferredSize(new java.awt.Dimension(35, 44));
        btnNuevo.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        btnNuevo.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(btnNuevo);

        btnEliminar.setAction(accionEliminar1);
        btnEliminar.setText("button2");
        btnEliminar.setBorderPainted(false);
        btnEliminar.setFocusable(false);
        btnEliminar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnEliminar.setMargin(new java.awt.Insets(0, 0, 0, 0));
        btnEliminar.setMaximumSize(new java.awt.Dimension(35, 44));
        btnEliminar.setMinimumSize(new java.awt.Dimension(35, 44));
        btnEliminar.setPreferredSize(new java.awt.Dimension(35, 44));
        btnEliminar.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        btnEliminar.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(btnEliminar);

        btnCancelar.setAction(accionCancelar1);
        btnCancelar.setText("button3");
        btnCancelar.setBorderPainted(false);
        btnCancelar.setFocusable(false);
        btnCancelar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnCancelar.setMargin(new java.awt.Insets(0, 0, 0, 0));
        btnCancelar.setMaximumSize(new java.awt.Dimension(35, 44));
        btnCancelar.setMinimumSize(new java.awt.Dimension(44, 44));
        btnCancelar.setPreferredSize(new java.awt.Dimension(35, 44));
        btnCancelar.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        btnCancelar.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(btnCancelar);

        btnGuardar.setAction(accionGuadar1);
        btnGuardar.setText("button4");
        btnGuardar.setBorderPainted(false);
        btnGuardar.setFocusable(false);
        btnGuardar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnGuardar.setMargin(new java.awt.Insets(0, 0, 0, 0));
        btnGuardar.setMaximumSize(new java.awt.Dimension(35, 44));
        btnGuardar.setMinimumSize(new java.awt.Dimension(44, 44));
        btnGuardar.setPreferredSize(new java.awt.Dimension(35, 44));
        btnGuardar.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        btnGuardar.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(btnGuardar);

        jButton3.setAction(accionRefrescar1);
        jButton3.setBorderPainted(false);
        jButton3.setFocusable(false);
        jButton3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton3.setMargin(new java.awt.Insets(0, 0, 0, 0));
        jButton3.setMaximumSize(new java.awt.Dimension(35, 44));
        jButton3.setPreferredSize(new java.awt.Dimension(35, 44));
        jButton3.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        jButton3.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(jButton3);

        jSeparator1.setBackground(new java.awt.Color(255, 255, 255));
        jSeparator1.setForeground(new java.awt.Color(255, 255, 255));
        separador.add(jSeparator1);

        jButton1.setAction(accionAumentarFuente1);
        jButton1.setBorderPainted(false);
        jButton1.setFocusable(false);
        jButton1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton1.setMargin(new java.awt.Insets(0, 0, 0, 0));
        jButton1.setMaximumSize(new java.awt.Dimension(35, 44));
        jButton1.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        jButton1.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(jButton1);

        jButton2.setAction(accionDisminuirFuente1);
        jButton2.setBorderPainted(false);
        jButton2.setFocusable(false);
        jButton2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton2.setMargin(new java.awt.Insets(0, 0, 0, 0));
        jButton2.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        jButton2.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(jButton2);

        jButton4.setAction(accionPersonalizarFuente1);
        jButton4.setBorderPainted(false);
        jButton4.setFocusable(false);
        jButton4.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton4.setMaximumSize(new java.awt.Dimension(35, 44));
        jButton4.setPreferredSize(new java.awt.Dimension(35, 44));
        jButton4.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
        jButton4.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
        separador.add(jButton4);

        jSeparator2.setForeground(new java.awt.Color(255, 255, 255));
        separador.add(jSeparator2);
        separador.add(filler1);

        jSeparator6.setForeground(new java.awt.Color(255, 255, 255));
        separador.add(jSeparator6);

        txtEspecial1.setAnchoDeBorde(0.0F);
        txtEspecial1.setColorDeBorde(new java.awt.Color(121, 137, 167));
        txtEspecial1.setFrase("Buscar (ctrl + B)");
        txtEspecial1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recursos/Iconos/filtrar.png"))); // NOI18N
        txtEspecial1.setMaximumSize(new java.awt.Dimension(130, 22));
        txtEspecial1.setPreferredSize(new java.awt.Dimension(130, 20));
        separador.add(txtEspecial1);

        jSeparator7.setForeground(new java.awt.Color(121, 137, 167));
        separador.add(jSeparator7);

        pnlPerfiles.setBackground(new java.awt.Color(220, 230, 240));

        jSplitPane4.setBorder(null);
        jSplitPane4.setDividerLocation(160);
        jSplitPane4.setDividerSize(6);
        jSplitPane4.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane4.setOneTouchExpandable(true);
        jSplitPane4.setOpaque(false);

        pnlRedondo4.setBackground(new java.awt.Color(255, 255, 255));

        org.jdesktop.layout.GroupLayout pnlRedondo4Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo4);
        pnlRedondo4.setLayout(pnlRedondo4Layout);
        pnlRedondo4Layout.setHorizontalGroup(
            pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 656, Short.MAX_VALUE)
        );
        pnlRedondo4Layout.setVerticalGroup(
            pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 38, Short.MAX_VALUE)
        );

        jSplitPane4.setRightComponent(pnlRedondo4);

        org.jdesktop.beansbinding.ELProperty eLProperty = org.jdesktop.beansbinding.ELProperty.create("${selectedElement.tblPerfilesUsuariosCollection}");
        jTableBinding = org.jdesktop.swingbinding.SwingBindings.createJTableBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, eLProperty, tblDatos1);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${idperfil.perfil}"));
        columnBinding.setColumnName("Perfil");
        columnBinding.setColumnClass(String.class);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${idperfil.nombre}"));
        columnBinding.setColumnName("Nombre");
        columnBinding.setColumnClass(String.class);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${idperfil.descripcion}"));
        columnBinding.setColumnName("Descripción");
        columnBinding.setColumnClass(String.class);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${estatus}"));
        columnBinding.setColumnName("Estatus");
        columnBinding.setColumnClass(Boolean.class);
        bindingGroup.addBinding(jTableBinding);
        jTableBinding.bind();binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblUsuarios, org.jdesktop.beansbinding.ELProperty.create("${font}"), tblDatos1, org.jdesktop.beansbinding.BeanProperty.create("font"));
        bindingGroup.addBinding(binding);

        jScrollPane2.setViewportView(tblDatos1);

        jSplitPane4.setLeftComponent(jScrollPane2);

        org.jdesktop.layout.GroupLayout pnlPerfilesLayout = new org.jdesktop.layout.GroupLayout(pnlPerfiles);
        pnlPerfiles.setLayout(pnlPerfilesLayout);
        pnlPerfilesLayout.setHorizontalGroup(
            pnlPerfilesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlPerfilesLayout.createSequentialGroup()
                .add(8, 8, 8)
                .add(jSplitPane4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                .add(8, 8, 8))
        );
        pnlPerfilesLayout.setVerticalGroup(
            pnlPerfilesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlPerfilesLayout.createSequentialGroup()
                .add(8, 8, 8)
                .add(jSplitPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 204, Short.MAX_VALUE)
                .add(8, 8, 8))
        );

        org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, separador, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .add(jPanel1Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(pnlRedondo, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlRedondo1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(pnlPerfiles, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .add(4, 4, 4))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel1Layout.createSequentialGroup()
                .add(separador, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(4, 4, 4)
                .add(pnlRedondo1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(4, 4, 4)
                .add(pnlRedondo, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(4, 4, 4)
                .add(pnlPerfiles, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(4, 4, 4))
        );

        jSplitPane1.setBackground(new java.awt.Color(255, 255, 255));
        jSplitPane1.setBorder(null);
        jSplitPane1.setDividerLocation(200);
        jSplitPane1.setDividerSize(0);

        validationMsgLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        validationMsgLabel.setText("Los Campos con * son Requeridos   ");
        jSplitPane1.setRightComponent(validationMsgLabel);

        jSplitPane2.setBorder(null);
        jSplitPane2.setDividerLocation(4);
        jSplitPane2.setDividerSize(0);
        jSplitPane2.setOpaque(false);

        jProgressBar1.setStringPainted(true);
        jSplitPane2.setRightComponent(jProgressBar1);
        jSplitPane2.setLeftComponent(jLabel1);

        jSplitPane1.setLeftComponent(jSplitPane2);

        jMenu1.setText("Archivo");

        mnuNuevo.setAction(accionNuevo1);
        jMenu1.add(mnuNuevo);

        mnuEliminar.setAction(accionEliminar1);
        jMenu1.add(mnuEliminar);

        mnuCancelar.setAction(accionCancelar1);
        jMenu1.add(mnuCancelar);

        mnuGuardar.setAction(accionGuadar1);
        jMenu1.add(mnuGuardar);

        jMenuItem9.setAction(accionRefrescar1);
        jMenu1.add(jMenuItem9);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Edición");

        jMenu3.setText("Fuente");

        jMenuItem3.setAction(accionAumentarFuente1);
        jMenu3.add(jMenuItem3);

        jMenuItem5.setAction(accionDisminuirFuente1);
        jMenu3.add(jMenuItem5);

        jMenuItem4.setAction(accionPersonalizarFuente1);
        jMenu3.add(jMenuItem4);

        jMenu2.add(jMenu3);

        jMenuBar1.add(jMenu2);

        jMenu5.setText("Ver");

        jCheckBoxMenuItem1.setAction(accionColapsar1);
        jCheckBoxMenuItem1.setSelected(true);
        jCheckBoxMenuItem1.setText("Perfiles");
        jCheckBoxMenuItem1.setToolTipText("Ver/Ocultar panel de Perfiles");
        jMenu5.add(jCheckBoxMenuItem1);

        jMenuBar1.add(jMenu5);

        setJMenuBar(jMenuBar1);

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .add(jSplitPane1)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(0, 0, 0)
                .add(jSplitPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
        );

        bindingGroup.bind();

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private Acciones.Edicion.AccionAumentarFuente accionAumentarFuente1;
    private Acciones.Persistencia.AccionCancelar accionCancelar1;
    private Acciones.Edicion.AccionColapsar accionColapsar1;
    private Acciones.Edicion.AccionDisminuirFuente accionDisminuirFuente1;
    private Acciones.Persistencia.AccionEliminar accionEliminar1;
    private Acciones.Persistencia.AccionGuadar accionGuadar1;
    private Acciones.Persistencia.AccionNuevo accionNuevo1;
    private Acciones.Edicion.AccionPersonalizarFuente accionPersonalizarFuente1;
    private Acciones.Persistencia.AccionRefrescar accionRefrescar1;
    private Componentes.Button btnCancelar;
    private Componentes.Button btnEliminar;
    private Componentes.Button btnGuardar;
    private Componentes.Button btnNuevo;
    private Componentes.ButtonEditor buttonEditor1;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.Box.Filler filler1;
    private Componentes.Validators.GenericValidator genericValidator1;
    private Componentes.Validators.GenericValidator genericValidator2;
    private Componentes.Validators.GenericValidator genericValidator3;
    private javax.persistence.EntityManager goBoxEntityManager;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JCheckBox jCheckBox1;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
    private com.toedter.calendar.JDateChooser jDateChooser1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JMenuItem jMenuItem5;
    private javax.swing.JMenuItem jMenuItem6;
    private javax.swing.JMenuItem jMenuItem7;
    private javax.swing.JMenuItem jMenuItem8;
    private javax.swing.JMenuItem jMenuItem9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPasswordField jPasswordField1;
    private javax.swing.JPopupMenu jPopupMenu1;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JToolBar.Separator jSeparator1;
    private javax.swing.JToolBar.Separator jSeparator2;
    private javax.swing.JToolBar.Separator jSeparator4;
    private javax.swing.JToolBar.Separator jSeparator6;
    private javax.swing.JToolBar.Separator jSeparator7;
    private javax.swing.JSpinner jSpinner1;
    private javax.swing.JSplitPane jSplitPane1;
    private javax.swing.JSplitPane jSplitPane2;
    private javax.swing.JSplitPane jSplitPane4;
    private Componentes.Validators.MailValidator mailValidator1;
    private javax.swing.JMenuItem mnuCancelar;
    private javax.swing.JMenuItem mnuEliminar;
    private javax.swing.JMenuItem mnuGuardar;
    private javax.swing.JMenuItem mnuNuevo;
    private org.edisoncor.gui.panel.PanelNice pnlEditorUsuarios;
    private org.edisoncor.gui.panel.PanelNice pnlPerfiles;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo1;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo4;
    private javax.swing.JToolBar separador;
    private javax.swing.JSplitPane splUsuarios;
    private org.edisoncor.gui.tabbedPane.TabbedPaneClose tabbedPaneClose1;
    private Componentes.tblDatos tblDatos1;
    private Componentes.tblDatos tblUsuarios;
    private java.util.List<Modelos.TblUsuarios> tblUsuariosList;
    private javax.persistence.Query tblUsuariosQuery;
    private Componentes.Texfields.TextField textField1;
    private Componentes.Texfields.TextField txtAM;
    private Componentes.Texfields.TextField txtAP;
    private Componentes.Texfields.txtEspecial txtEspecial1;
    private Componentes.Texfields.txtFiltro txtFiltro1;
    private Componentes.Texfields.TextField txtMail;
    private Componentes.Texfields.TextField txtNombre;
    private javax.swing.JLabel validationMsgLabel;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration//GEN-END:variables
}
